package com.example.orderhandle.service;



import com.example.orderhandle.entity.Order;

import java.util.List;
import java.util.Map;

//接口
public interface OrderService {

    Map<String, String> findUserInfoByUid(int uid);

    List<Map<String, Object>> getDormByOrder(String buildingName, String gender, int num);

    int updateGrabedRoom(int roomId, int num);

    Boolean insertAllOrderInfo(int orderId, List<Integer> uid);

    int findBuildingIdByBuildingName(String buildingName);

    int insertOrder(Order order);

    Boolean insertUserDormCorrinfo(int roomID, List<Integer> uid);
}
